package com.ng.common.model.request;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class UserPasswordRequest {
	@Schema(description = "用户id")
	@NonNull
	private String id;
	@Schema(description = "旧密码")
	@NonNull
	private String oldPassword;
	@Schema(description = "新密码")
	@NonNull
	private String newPassword;
}
